home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / PRINTER.RC < prev    next >
Text File  |  1997-05-06  |  2KB  |  50 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1992, 1996 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.3  $
  6. //
  7. // Resources to use with TPrinter and TPrintout.
  8. //----------------------------------------------------------------------------
  9.  
  10. #include <owl/printer.rh>
  11. #include <owl/window.rh>
  12.  
  13. #if defined(RC_INVOKED)
  14.  
  15. #if !defined(NO_IDD_ABORTDIALOG) && !defined(__IDD_ABORTDIALOG)
  16. #define __IDD_ABORTDIALOG
  17. IDD_ABORTDIALOG DIALOG 84, 51, 138, 60
  18. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  19. CAPTION "Printing"
  20. {
  21.  PUSHBUTTON "Cancel", IDCANCEL, 49, 40, 40, 14, WS_TABSTOP
  22.  CTEXT "Now printing", -1, 33, 8, 72, 8
  23.  LTEXT "Now printing Page %d", ID_PAGE, 14, 8, 84, 8
  24.  RTEXT "to %d of", ID_TOPAGE, 96, 8, 27, 8
  25.  CTEXT "'%s' on the", ID_TITLE, 4, 16, 130, 8
  26.  CTEXT "", ID_PORT, 0, 24, 130, 8, SS_CENTER | NOT WS_VISIBLE | WS_GROUP
  27.  CTEXT "%s on %s", ID_DEVICE, 0, 24, 130, 8
  28. }
  29. #endif
  30. #undef NO_DR_ABORTDIALOG
  31.  
  32. #if !defined(NO_IDS_PRINTER) && !defined(__IDS_PRINTER)
  33. #define __IDS_PRINTER
  34. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  35. {
  36.   IDS_PRNNODEFAULT,     "Cannot print without a default printer."
  37.   IDS_PRNON,            " on "
  38.   IDS_PRNERRORTEMPLATE, "'%s' not printed. %s."
  39.   IDS_PRNOUTOFMEMORY,   "Out of memory"
  40.   IDS_PRNOUTOFDISK,     "Out of disk space"
  41.   IDS_PRNCANCEL,        "Printing canceled"
  42.   IDS_PRNMGRABORT,      "Printing aborted in Print Manager"
  43.   IDS_PRNGENERROR,      "Error encountered during print"
  44.   IDS_PRNERRORCAPTION,  "Print Error"
  45. }
  46. #endif
  47. #undef NO_IDS_PRINTER
  48.  
  49. #endif  // defined(RC_INVOKED)
  50.